package com.ygp.basic;

//import lombok.extern.slf4j.Slf4j;

/**
 * <Description> <br>
 *
 * @author linmiaolai@sanyygp.com<br>
 * @version 1.0<br>
 * @date 2021/11/11 <br>
 */
//@Slf4j(topic = "c.Test10")
public class WaitAndSleep {
    public static void main(String[] args) throws InterruptedException {
        Object lock = new Object();
        synchronized (lock) {
            lock.wait();
        }
    }
}
